package com.lm.dao;

import java.util.List;

import com.lm.model.Type;

public interface TypeDAO {
	public int getTypeNumOfType() throws Throwable ;

	public String getTypeNameByTypeID(int typeID) throws Throwable ;

	public Type getTypeByTypeID(int typeID) throws Throwable ;

	public List getAllType() throws Throwable ;

	public String[] getTypeNamesByTypeScope(String typeScope) throws Throwable ;

	public void addType(Type form) throws Throwable ;

	public void editTypeByTypeID(Type type, String typeID) throws Throwable ;

	public void deleteTypeByTypeID(String typeID) throws Throwable;


}
